from transformers import AutoConfig
checkpoint_path="./model_out/checkpoint-100"
config = AutoConfig.from_pretrained(checkpoint_path)
print(config)